package cn.com.zpark.listener;

import javax.servlet.ServletRequestEvent;
import javax.servlet.ServletRequestListener;

/**
 * @PackageName: cn.com.zpark.listener
 * @ClassName: ListenerDemo01
 * @Description:
 * @author: RZS
 * @date: 2021/11/22  15:10
 */
public class ListenerDemo01 implements ServletRequestListener {
    @Override
    public void requestDestroyed(ServletRequestEvent sre) {
        System.out.println("请求对象销毁：requestDestroyed");
    }

    @Override
    public void requestInitialized(ServletRequestEvent sre) {
        System.out.println("请求对象创建：requestInitialized");
    }
}
